package org.mfoyou.agent.common.dao.domain;

import java.util.Date;

import org.mfoyou.agent.utils.common.SerializableObject;

/**
 * 代理商优惠券
 *
 * @author hzhang7
 */
public class HuawuServiceCoupon extends SerializableObject {

    private Integer serviceCouponId;

    private Integer agentId;

    private String couponName;

    private Integer totalCount;

    private Integer couponSold;

    private String couponText;

    private Date createTime;

    private Date modifyTime;

    private Date couponStartTime;

    private Date couponEndTime;

    private Integer useType;

    private Integer couponState;

    private String couponDetail;

    private Integer couponUsed;

    private Integer limitMoney;

    private Integer reduceValue;

    private Integer touchId;

    private Integer canUsed;

    /**
     * 构造器
     */
    public HuawuServiceCoupon() {
    }

    /**
     * 构造器
     *
     * @param agentId
     * @param couponName
     * @param totalCount
     * @param couponSold
     * @param couponText
     * @param createTime
     * @param modifyTime
     * @param useType
     * @param couponState
     * @param reduceValue
     */
    public HuawuServiceCoupon(Integer agentId, String couponName, Integer totalCount,
                              Integer couponSold, String couponText, Date createTime, Date modifyTime, Integer useType,
                              Integer couponState, Integer reduceValue, Date couponStartTime, Date couponEndTime) {

        this.agentId = agentId;
        this.couponName = couponName;
        this.totalCount = totalCount;
        this.couponSold = couponSold;
        this.couponText = couponText;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
        this.useType = useType;
        this.couponState = couponState;
        this.reduceValue = reduceValue;
        this.couponStartTime = couponStartTime;
        this.couponEndTime = couponEndTime;
    }

    public Integer getServiceCouponId() {
        return serviceCouponId;
    }

    public void setServiceCouponId(Integer serviceCouponId) {
        this.serviceCouponId = serviceCouponId;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName == null ? null : couponName.trim();
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public String getCouponText() {
        return couponText;
    }

    public void setCouponText(String couponText) {
        this.couponText = couponText == null ? null : couponText.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getCouponStartTime() {
        return couponStartTime;
    }

    public void setCouponStartTime(Date couponStartTime) {
        this.couponStartTime = couponStartTime;
    }

    public Date getCouponEndTime() {
        return couponEndTime;
    }

    public void setCouponEndTime(Date couponEndTime) {
        this.couponEndTime = couponEndTime;
    }

    public Integer getUseType() {
        return useType;
    }

    public void setUseType(Integer useType) {
        this.useType = useType;
    }

    public Integer getCouponState() {
        return couponState;
    }

    public void setCouponState(Integer couponState) {
        this.couponState = couponState;
    }

    public String getCouponDetail() {
        return couponDetail;
    }

    public void setCouponDetail(String couponDetail) {
        this.couponDetail = couponDetail == null ? null : couponDetail.trim();
    }

    public Integer getCouponUsed() {
        return couponUsed;
    }

    public void setCouponUsed(Integer couponUsed) {
        this.couponUsed = couponUsed;
    }

    public Integer getLimitMoney() {
        return limitMoney;
    }

    public void setLimitMoney(Integer limitMoney) {
        this.limitMoney = limitMoney;
    }

    public Integer getReduceValue() {
        return reduceValue;
    }

    public void setReduceValue(Integer reduceValue) {
        this.reduceValue = reduceValue;
    }

    public Integer getCouponSold() {
        return couponSold;
    }

    public void setCouponSold(Integer couponSold) {
        this.couponSold = couponSold;
    }

    public Integer getTouchId() {
        return touchId;
    }

    public void setTouchId(Integer touchId) {
        this.touchId = touchId;
    }

    public Integer getCanUsed() {
        return canUsed;
    }

    public void setCanUsed(Integer canUsed) {
        this.canUsed = canUsed;
    }
}